import java.util.Scanner;

public class Zhijiao {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入高度");
        int h = input.nextInt();
        int i = 1;
        int j = 1;
        for (j = 1; j <= h; j++) {
            for (i = 1; i <= h - j; i++) {
                System.out.print(" ");
            }
            for (i = 1; i <= j; i++) {
                System.out.print("*");
            }
            System.out.println();

        }

    }
}
